#ifndef	TWN_SAFE_CHECKS 
#define TWN_SAFE_CHECKS	1

#ifdef ALONE_TWN_SAFE_CHECKS
#include <stdio.h>
#include <iostream>
#include "ApmsApi.h"
#include "Tianwan.h"
#include "Uti_Tianwan.h"
#include "Mov_Tianwan.h"
#include "Twn_Mov_xy.h"
#include "Twn_Exec_mov.h"
#include "Twn_Pro_ph.h"
#define SC_API extern "C" __declspec(dllexport)
#else
#define SC_API extern "C" __declspec(dllimport)
#endif

SC_API BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpReserved);
SC_API RETSTAT SafeChecks(void);
SC_API RETSTAT waitForMreqDown(void);
#endif